import { reactive } from "vue";
import type { FormRules } from "element-plus";

/** 自定义表单规则校验 */
export const formRules = reactive(<FormRules>{
  ruleName: [{ required: true, message: "请输入配置名称", trigger: "blur" }],
  goodsType: [{ required: true, message: "请选择商品类目", trigger: "change" }],
  categoryId: [{ required: true, message: "请选择商品类目", trigger: "change" }]
});
